package com.rf.richfitwheel.admin.iam.model;

/**
 * @author hushouquan
 */
public class ServiceResponse{
    private AuthenticationSuccess authenticationSuccess;
    private AuthenticationFailure authenticationFailure;
    
    public AuthenticationSuccess getAuthenticationSuccess(){
        return authenticationSuccess;
    }
    
    public void setAuthenticationSuccess(AuthenticationSuccess authenticationSuccess){
        this.authenticationSuccess = authenticationSuccess;
    }
    
    public AuthenticationFailure getAuthenticationFailure(){
        return authenticationFailure;
    }
    
    public void setAuthenticationFailure(AuthenticationFailure authenticationFailure){
        this.authenticationFailure = authenticationFailure;
    }
    
    @Override
    public String toString(){
        return "ServiceResponse{" +
                "authenticationSuccess=" + authenticationSuccess +
                ", authenticationFailure=" + authenticationFailure +
                '}';
    }
}
